'use strict';
let readStream = require("fs");
let fs = readStream.createReadStream("/Users/zhaojunwei/Documents/整理的学习资料.txt", 'utf-8');
fs.on("data", function (chunk) {
    console.log("data:");
    console.log("chunk", chunk);
});
fs.on("end", function () {
    console.log("end");
});
fs.on("error", function (error) {
    console.log("error", error);
});